package com.zz;

import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;

import org.springframework.boot.web.servlet.ServletComponentScan;

import org.springframework.data.jpa.repository.config.EnableJpaAuditing;
/**
 * Created by Bsea
 * 2019-05-6 18:30
 */
@SpringBootApplication
@ServletComponentScan //如果使用过滤器，必须添加这个注解
@EnableJpaAuditing //用户 插入数据的时候，插入默认系统时间
public class Application  {


    public static void main(String[] args) {
        SpringApplication.run(Application.class, args);
    }

}
